package cn.heycm.blog.console.domain.article.model;

import cn.heycm.blog.console.infra.dao.article.entity.Article;
import cn.heycm.blog.console.infra.dao.article.entity.ArticleHistory;
import lombok.Builder;
import lombok.Getter;

import java.util.List;

/**
 * 文章
 *
 * @author hey
 * @version 1.0
 * @since 2024/9/26 17:13
 */
@Getter
@Builder
public class AdminArticle {

    private long articleId;

    private Article article;

    private List<ArticleHistory> histories;

    public void setHistories(List<ArticleHistory> histories) {
        this.histories = histories;
    }
}
